<?php 
$articleUrl = Router::url(array('controller'=>'articles', 'action'=>'show', $article['Article']['id']));
?>

<article class="article">
	<header>
		<h2>
			<?php 
				echo $this->Html->link($article['Article']['title'], $articleUrl);
			?>
		</h2>
		<p class="article-time">
			<time datetime="<?php echo $article['Article']['created']; ?>">
				<?php echo date("d.m.Y", strtotime($article['Article']['created'])); ?>
			</time>
		</p>
	</header>
	<p><?php echo $article["Article"]['short_content']; ?></p>
	<footer>
		<div class="article-social">
			<ul class="clearfix">
				<li>
					<div class="fb-like" data-href="<?php echo $articleUrl; ?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
				</li>
			</ul>
		</div>
	</footer>
</article>
